package org.sardine.beans;

import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Method;

public class BeanObjectPropertyDescriptor{
	//class BeanObjectPropertyDescriptor extends PropertyDescriptor
	
	private final Class beanClass;
	private final String propertyName;
	private final Method setterMethod;

	public BeanObjectPropertyDescriptor(Class beanClass, String propertyName, Method setterMethod) throws IntrospectionException {
		//super(propertyName,null,null);
		this.beanClass = beanClass;
		this.propertyName = propertyName;
		this.setterMethod = setterMethod;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public Method getSetterMethod() {
		return setterMethod;
	}
	
	

}
